package YuXi;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class day01 {
    public static void main(String[] args) throws ParseException {
        Date date = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日  HH:mm:ss");
        String format = sdf.format(date);
        System.out.println(format);
        Date parse = sdf.parse(format);

        System.out.println(parse);
    }
}
